﻿.form-modal {
    margin: 0 auto 20px;
    margin-top: 40px;
    padding: 19px 29px 29px;
    max-width: 300px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.form-modal input[type = "text"],
.form-modal input[type = "password"] {
    padding: 7px 9px;
    height: auto;
    font-size: 16px;
}

.form-modal .text-error {
    margin-top: 20px;
}

.line {
    margin: 0;
    padding: 0;
    background-color: #555555;
}

#chat-container h2, #register-form h3, #login-form h3 {
    text-align:center;
}

#chat-container, #login-form, #register-form {
    display:none;
    margin-top: 20px;
}

#active-rooms-box, #active-users-box {
    height: 238px;
    padding: 10px;
}

#active-rooms-box > div span, #active-users-box > form > div span {
    font-weight: bold;
}

 /*#active-users-box > form > button {
     margin-bottom: 10px;
 }*/

#active-rooms-box ul, #active-users-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    height: 210px;
}

#active-rooms-box li, #active-users-box li {
    display: block;
    width: 170px;
    line-height: 18px;
    margin-top: 2px;
    padding-left: -55px;
}

#active-rooms-box li span a, #active-users-box li span a {
    display: none;
}

#active-rooms-box li:hover span a, #active-users-box li:hover span a {
    display: inline-block;
}

#active-rooms-box li span a:hover, #active-users-box li span a:hover {
    -ms-opacity: 0.4;
    opacity: 0.4;
}

#active-users-box li span {
    line-height: 10px;
}

#chat-box {
    height: 520px;
}

#rooms-tabs {
    width: 680px;
    height: 50px;
    overflow-y: hidden;
    overflow-x: scroll;
}

#rooms-tabs ul {
    width: 680px;
}

#rooms-tabs li {
    width: 100px;
    line-height: 15px;
    padding: 5px 5px;
    margin-top: 5px;
    margin-right: 3px;
}

#rooms-tabs li a {
    display: none;
}

#rooms-tabs li a i:hover {
    border-radius: 4px;
    background-image: url("images/glyphicons-halflings.png");
    background-position: -312px 0;
}

#messages-box {
    margin: 10px 0;
    height: 380px;
    border: 1px solid #ccc;
    background-color: #3A87AD;
    -ms-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px inset #000000;
    -ms-box-shadow: 0 1px 1px inset #000000;
    box-shadow: 0 1px 1px inset #000000;
    position: relative;
    overflow-y: scroll;
}

#messages-list {
    position: absolute;
    bottom: 0;
    list-style: none;
}

#text-box textarea {
    width: 540px;
    height: 55px;
    resize: none;
}

#text-box button {
    width: 120px;
    margin-bottom: 5px;
}
